package com.chhuang.bean;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

import java.util.Date;
import java.io.Serializable;

/**
 * @TableName ch_user_role_map
 * @ClassName ChUserRoleMap
 * @Description ch_user_role_map普通JavaBean类(ChUserRoleMapBean)
 * @Author Darren Huang
 * @Date 2023-01-06 22:50:19
 * @Version 1.0
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "ChUserRoleMapBean实体类", description = "用于展示或者接收参数")
public class ChUserRoleMapBean implements Serializable {
    private static final long serialVersionUID = 737169247378743283L;

    /**
     * 用户角色映射编号
     */
    @ApiModelProperty(value = "用户角色映射编号")
    private String userRoleMapId;

    /**
     * 用户编号
     */
    @ApiModelProperty(value = "用户编号")
    private String userId;

    /**
     * 角色编号
     */
    @ApiModelProperty(value = "角色编号")
    private String roleId;

    /**
     * 角色序号
     */
    @ApiModelProperty(value = "角色序号")
    private Integer roleOrder;

    /**
     * 修改时间
     */
    @ApiModelProperty(value = "修改时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date modifyTime;
    @ApiModelProperty(value = "修改时间开始")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date modifyTimeStart;
    @ApiModelProperty(value = "修改时间结束")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date modifyTimeEnd;

    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;
    @ApiModelProperty(value = "创建时间开始")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTimeStart;
    @ApiModelProperty(value = "创建时间结束")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTimeEnd;

}
